package util;

import java.util.List;

/**
 * @author zhanglinfeng
 * @date create in 2023/7/18 11:34
 */
public class AgentUtil {
    public static final List<String> AGENT_LIST = List.of("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36");

    public static String get() {
        return AGENT_LIST.get(MathUtil.randomNum(0, AGENT_LIST.size()));
    }
}
